#!/bin/sh
#Code based from amarok 2's SkypeNowPlaying
python - "Songbird playing $*"  <<EOF
import Skype4Py
import sys
try:
 msg = sys.argv[1]
except:
 msg = ""
msg = msg.decode('unicode_escape')
try:
 skype = Skype4Py.Skype()
 if skype.Client.IsRunning:
  skype.Attach()
  skype.CurrentUserProfile.MoodText = msg
except:
 pass

EOF
